Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 feat: Support Google Agents, fix Various Provider Configurations #5126

Merged
merged 15 commits into from
Dec 28, 2024

Conversation

danny-avila
Copy link
Owner

Summary

I added initial support for Google agents and improved the handling of LLM configurations in agent initialization. I also made various fixes and optimizations related to client options and message caching.

  • Added initial support for Google agents in agent initialization.
  • Fixed issues with outdated OpenAI client options in getLLMConfig.
  • Improved handling of llmConfig fields, noting that customHeaders are not currently supported by LangChain's GenAI Client.

Other

  • Cached non-empty messages in chatV2 controller to avoid caching empty responses.
  • Modified code to only cache messages with non-empty text in BaseClient and PluginsClient.

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • Local unit tests pass with my changes

@danny-avila danny-avila merged commit 24cad6b into main Dec 28, 2024
2 checks passed
@danny-avila danny-avila deleted the exp/agents branch December 28, 2024 22:15
owengo pushed a commit to openwengo/LibreChat that referenced this pull request Jan 21, 2025
…anny-avila#5126)

* feat: Refactor ModelEndHandler to collect usage metadata only if it exists

* feat: google tool end handling, custom anthropic class for better token ux

* refactor: differentiate between client <> request options

* feat: initial support for google agents

* feat: only cache messages with non-empty text

* feat: Cache non-empty messages in chatV2 controller

* fix: anthropic llm client options llmConfig

* refactor: streamline client options handling in LLM configuration

* fix: VertexAI Agent Auth & Tool Handling

* fix: additional fields for llmConfig, however customHeaders are not supported by langchain, requires PR

* feat: set default location for vertexai LLM configuration

* fix: outdated OpenAI Client options for getLLMConfig

* chore: agent provider options typing

* chore: add note about currently unsupported customHeaders in langchain GenAI client

* fix: skip transaction creation when rawAmount is NaN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant